package com.dinzeer.pseudoedge_break_dawn.register;

import mods.flammpfeil.slashblade.slasharts.SlashArts;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.RegistryObject;

import static com.dinzeer.pseudoedge_break_dawn.Pseudoedge_break_dawn.MODID;

public class PbdSlashArtRegsitry {
    public static final DeferredRegister<SlashArts> SLASH_ARTS =
            DeferredRegister.create(SlashArts.REGISTRY_KEY, MODID);
    public static final RegistryObject<SlashArts> ThrustEEX;//平移
    public static final RegistryObject<SlashArts> DragonBoost;//龙魂附体
    public static final RegistryObject<SlashArts> BlackHole;//黑穴
    public static final RegistryObject<SlashArts> kingblade;//灭
    public static final RegistryObject<SlashArts> Blackslash;//魔爆斩
    public static final RegistryObject<SlashArts> ThrustSlash;//平移斩
    public static final RegistryObject<SlashArts> ThrustSlashEX;//平移斩ex

    static {
        ThrustEEX=SLASH_ARTS.register("thrust_eex",()-> new SlashArts((e) -> PbdComboState.ThrustEEX.getId()));
        DragonBoost=SLASH_ARTS.register("dragon_boost",()-> new SlashArts((e) -> PbdComboState.DragonBoost.getId()));
        BlackHole=SLASH_ARTS.register("black_hole",()-> new SlashArts((e) -> PbdComboState.BlackHole.getId()));
        kingblade=SLASH_ARTS.register("kingblade",()-> new SlashArts((e) -> PbdComboState.kingblade.getId()));
        Blackslash=SLASH_ARTS.register("blackslash",()-> new SlashArts((e) -> PbdComboState.Blackslash.getId()));
        ThrustSlash=SLASH_ARTS.register("thrust_slash",()-> new SlashArts((e) -> PbdComboState.ThrustSlash.getId()));
        ThrustSlashEX=SLASH_ARTS.register("thrust_slash_ex",()-> new SlashArts((e) -> PbdComboState.ThrustSlashEX.getId()));
    }
}
